package com.daisuxia.rongbao;

import java.io.Serializable;

public class RongBaoWhite implements Serializable {
	private static final long serialVersionUID = 1L;
	
	private String sign_type;  		//签名类型	String	必须	目前仅支持MD5，不参与验签
	
	private String sign;  			//签名	String	必须	按照sign_type参数指定的签名算法对待签名数据进行签名。目前仅支持MD5.详见数字签名
	
	private String merchant_id;		//商户号	String(16)	必须	商户与融宝合作后在融宝产生的用户ID。
	
	private String batch_no;		//批次号	String（50）	必须	当日不能重复，最好以数字代替
	
	private String batch_count;		//批次总数量	String(10)	否	
	
	private String batch_date;		//提交日期	String(8)	必须	例：20170210
	
	private String batch_conten;	//批次明细	String   必须
	
	//以下是批次明细所需字段
	private String order_number; 	//序号     	String（22）	必须	当前批次序号不可重复，必须为数字
	
	private String person_id;		//商户号    String（16）	必须	个人或者企业在银行开立的银行账号
	
	private String account_name; 	//开户名	String（256）	必须	个人在银行开立银行账户时所使用的身份证上的姓名； 

	private String bank_no;			//卡号	String（64）	必须	银行卡号
	
	private String phone;			//手机   	String（11）	必须	持卡人银行预留手机号
	
	private String card_type = "身份证";	//证件类型 String（11）	必须	目前支持：身份证
	
	private String card_no;			//证件号	String（64）	必须	
	
	private String agreement_no;	//用户协议号 String（64）	必须	
	
	private String order_id;		//商户订单号 String（64）	必须	
	
	private String date_starte; 	//协议开始日期 String	必须	2016-08-22
	
	private String date_end; 		//协议开始日期	String	必须	2016-08-22
	
	private String remark;			//备注

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getSign_type() {
		return sign_type;
	}

	public void setSign_type(String sign_type) {
		this.sign_type = sign_type;
	}

	public String getSign() {
		return sign;
	}

	public void setSign(String sign) {
		this.sign = sign;
	}

	public String getMerchant_id() {
		return merchant_id;
	}

	public void setMerchant_id(String merchant_id) {
		this.merchant_id = merchant_id;
	}

	public String getBatch_no() {
		return batch_no;
	}

	public void setBatch_no(String batch_no) {
		this.batch_no = batch_no;
	}

	public String getBatch_count() {
		return batch_count;
	}

	public void setBatch_count(String batch_count) {
		this.batch_count = batch_count;
	}

	public String getBatch_date() {
		return batch_date;
	}

	public void setBatch_date(String batch_date) {
		this.batch_date = batch_date;
	}
	//序号，商户号，卡号，姓名，银行预留手机号，证件类型，身份证号，协议号，协议开始日期，协议结束日期，商户订单号，备注
	public String getBatch_conten() {
		return order_number+","+person_id+","+bank_no+","+account_name+","+phone+","+card_type+","+
				card_no+","+agreement_no+","+date_starte+","+date_end+","+order_id+","+remark;
	}

	public void setBatch_conten(String batch_conten) {
		this.batch_conten = batch_conten;
	}

	public String getOrder_number() {
		return order_number;
	}

	public void setOrder_number(String order_number) {
		this.order_number = order_number;
	}

	public String getPerson_id() {
		return person_id;
	}

	public void setPerson_id(String person_id) {
		this.person_id = person_id;
	}

	public String getAccount_name() {
		return account_name;
	}

	public void setAccount_name(String account_name) {
		this.account_name = account_name;
	}

	public String getBank_no() {
		return bank_no;
	}

	public void setBank_no(String bank_no) {
		this.bank_no = bank_no;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getCard_type() {
		return card_type;
	}

	public void setCard_type(String card_type) {
		this.card_type = card_type;
	}

	public String getCard_no() {
		return card_no;
	}

	public void setCard_no(String card_no) {
		this.card_no = card_no;
	}

	public String getAgreement_no() {
		return agreement_no;
	}

	public void setAgreement_no(String agreement_no) {
		this.agreement_no = agreement_no;
	}

	public String getOrder_id() {
		return order_id;
	}

	public void setOrder_id(String order_id) {
		this.order_id = order_id;
	}

	public String getDate_starte() {
		return date_starte;
	}

	public void setDate_starte(String date_starte) {
		this.date_starte = date_starte;
	}

	public String getDate_end() {
		return date_end;
	}

	public void setDate_end(String date_end) {
		this.date_end = date_end;
	}

	@Override
	public String toString() {
		return "dkWhite [sign_type=" + sign_type + ", sign=" + sign + ", merchant_id=" + merchant_id + ", batch_no="
				+ batch_no + ", batch_count=" + batch_count + ", batch_date=" + batch_date + ", batch_conten="
				+ batch_conten + ", order_number=" + order_number + ", person_id=" + person_id + ", account_name="
				+ account_name + ", bank_no=" + bank_no + ", phone=" + phone + ", card_type=" + card_type + ", card_no="
				+ card_no + ", agreement_no=" + agreement_no + ", order_id=" + order_id + ", date_starte=" + date_starte
				+ ", date_end=" + date_end + ", remark=" + remark + "]";
	}


	
}
